
<!DOCTYPE HTML>
<html lang="zh-hans" >
    <head>
        <meta charset="UTF-8">
        <meta content="text/html; charset=utf-8" http-equiv="Content-Type">
        <title>前言 · Dart编程指南</title>
        <meta http-equiv="X-UA-Compatible" content="IE=edge" />
        <meta name="description" content="">
        <meta name="generator" content="GitBook 3.2.3">
        <meta name="author" content="arcticfox">
        
        
    
    <link rel="stylesheet" href="gitbook/style.css">

    
            
                
                <link rel="stylesheet" href="gitbook/gitbook-plugin-anchor-navigation-ex/style/plugin.css">
                
            
                
                <link rel="stylesheet" href="gitbook/gitbook-plugin-expandable-chapters-small/expandable-chapters-small.css">
                
            
                
                <link rel="stylesheet" href="gitbook/gitbook-plugin-search-pro/search.css">
                
            
                
                <link rel="stylesheet" href="gitbook/gitbook-plugin-expandable-chapters/expandable-chapters.css">
                
            
                
                <link rel="stylesheet" href="gitbook/gitbook-plugin-pageview-count/plugin.css">
                
            
                
                <link rel="stylesheet" href="gitbook/gitbook-plugin-tbfed-pagefooter/footer.css">
                
            
                
                <link rel="stylesheet" href="gitbook/gitbook-plugin-highlight/website.css">
                
            
                
                <link rel="stylesheet" href="gitbook/gitbook-plugin-fontsettings/website.css">
                
            
                
                <link rel="stylesheet" href="gitbook/gitbook-plugin-theme-comscore/test.css">
                
            
        

    

    
        
    
        
    
        
    
        
    
        
    
        
    

        
    
    
    <meta name="HandheldFriendly" content="true"/>
    <meta name="viewport" content="width=device-width, initial-scale=1, user-scalable=no">
    <meta name="apple-mobile-web-app-capable" content="yes">
    <meta name="apple-mobile-web-app-status-bar-style" content="black">
    <link rel="apple-touch-icon-precomposed" sizes="152x152" href="gitbook/images/apple-touch-icon-precomposed-152.png">
    <link rel="shortcut icon" href="gitbook/images/favicon.ico" type="image/x-icon">

    
    <link rel="next" href="基础篇.html" />
    
    

    </head>
    <body>
        
<div class="book">
    <div class="book-summary">
        
            
<div id="book-search-input" role="search">
    <input type="text" placeholder="输入并搜索" />
</div>

            
                <nav role="navigation">
                


<ul class="summary">
    
    
    
        
        <li>
            <a href="http://www.bczl.xyz/" target="_blank" class="custom-link">主页</a>
        </li>
    
    

    
    <li class="divider"></li>
    

    
        
        
    
        <li class="chapter active" data-level="1.1" data-path="./">
            
                <a href="./">
            
                    
                    前言
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.2" data-path="基础篇.html">
            
                <a href="基础篇.html">
            
                    
                    基础篇
            
                </a>
            

            
            <ul class="articles">
                
    
        <li class="chapter " data-level="1.2.1" data-path="环境搭建.html">
            
                <a href="环境搭建.html">
            
                    
                    环境搭建
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.2.2" data-path="简单语法.html">
            
                <a href="简单语法.html">
            
                    
                    简单语法
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.2.3" data-path="函数.html">
            
                <a href="函数.html">
            
                    
                    函数
            
                </a>
            

            
        </li>
    

            </ul>
            
        </li>
    
        <li class="chapter " data-level="1.3" data-path="进阶篇.html">
            
                <a href="进阶篇.html">
            
                    
                    进阶篇
            
                </a>
            

            
            <ul class="articles">
                
    
        <li class="chapter " data-level="1.3.1" data-path="面向对象.html">
            
                <a href="面向对象.html">
            
                    
                    面向对象
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.3.2" data-path="泛型.html">
            
                <a href="泛型.html">
            
                    
                    泛型
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.3.3" data-path="枚举.html">
            
                <a href="枚举.html">
            
                    
                    枚举
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.3.4" data-path="库与导入.html">
            
                <a href="库与导入.html">
            
                    
                    库与导入
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.3.5" data-path="异步编程.html">
            
                <a href="异步编程.html">
            
                    
                    异步编程
            
                </a>
            

            
            <ul class="articles">
                
    
        <li class="chapter " data-level="1.3.5.1" data-path="异步编程之Future.html">
            
                <a href="异步编程之Future.html">
            
                    
                    Future
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.3.5.2" data-path="异步编程之Stream.html">
            
                <a href="异步编程之Stream.html">
            
                    
                    Stream
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.3.5.3" data-path="异步编程之Isolate.html">
            
                <a href="异步编程之Isolate.html">
            
                    
                    Isolate
            
                </a>
            

            
        </li>
    

            </ul>
            
        </li>
    
        <li class="chapter " data-level="1.3.6" data-path="异常处理.html">
            
                <a href="异常处理.html">
            
                    
                    异常处理与 Zone
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.3.7" data-path="生成器.html">
            
                <a href="生成器.html">
            
                    
                    生成器
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.3.8" data-path="标准流与文件.html">
            
                <a href="标准流与文件.html">
            
                    
                    标准流与文件
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.3.9" data-path="运算符.html">
            
                <a href="运算符.html">
            
                    
                    附：运算符
            
                </a>
            

            
        </li>
    

            </ul>
            
        </li>
    
        <li class="chapter " data-level="1.4" data-path="常用标准库.html">
            
                <a href="常用标准库.html">
            
                    
                    常用标准库
            
                </a>
            

            
            <ul class="articles">
                
    
        <li class="chapter " data-level="1.4.1" data-path="字符串.html">
            
                <a href="字符串.html">
            
                    
                    字符串
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.4.2" data-path="集合.html">
            
                <a href="集合.html">
            
                    
                    集合
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.4.3" data-path="URI处理.html">
            
                <a href="URI处理.html">
            
                    
                    URI处理
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.4.4" data-path="日期和时间.html">
            
                <a href="日期和时间.html">
            
                    
                    日期和时间
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.4.5" data-path="环境及外部调用.html">
            
                <a href="环境及外部调用.html">
            
                    
                    环境及外部调用
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.4.6" data-path="其他.html">
            
                <a href="其他.html">
            
                    
                    其他
            
                </a>
            

            
        </li>
    

            </ul>
            
        </li>
    
        <li class="chapter " data-level="1.5" data-path="实战篇.html">
            
                <a href="实战篇.html">
            
                    
                    实战篇
            
                </a>
            

            
            <ul class="articles">
                
    
        <li class="chapter " data-level="1.5.1" data-path="网络编程.html">
            
                <a href="网络编程.html">
            
                    
                    网络编程
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.5.2" data-path="爬虫实战.html">
            
                <a href="爬虫实战.html">
            
                    
                    爬虫实战
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.5.3" data-path="HTTP服务器.html">
            
                <a href="HTTP服务器.html">
            
                    
                    HTTP服务器
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.5.4" data-path="WebSocket服务器.html">
            
                <a href="WebSocket服务器.html">
            
                    
                    WebSocket服务器
            
                </a>
            

            
        </li>
    

            </ul>
            
        </li>
    
        <li class="chapter " data-level="1.6" >
            
                <span>
            
                    
                    附录
            
                </span>
            

            
            <ul class="articles">
                
    
        <li class="chapter " data-level="1.6.1" data-path="dart2.14.html">
            
                <a href="dart2.14.html">
            
                    
                    升级到Dart 2.14
            
                </a>
            

            
        </li>
    

            </ul>
            
        </li>
    

    

    <li class="divider"></li>

    <li>
        <a href="http://www.bczl.xyz/" target="blank" class="gitbook-link">
            编程之路
        </a>
    </li>
</ul>


                </nav>
            
        
    </div>

    <div class="book-body">
        
            <div class="body-inner">
                
                    

<div class="book-header" role="navigation">
    

    <!-- Title -->
    <h1>
        <i class="fa fa-circle-o-notch fa-spin"></i>
        <a href="." >前言</a>
    </h1>
</div>




                    <div class="page-wrapper" tabindex="-1" role="main">
                        <div class="page-inner">
                            
<div id="book-search-results">
    <div class="search-noresults">
    
                                <section class="normal markdown-section">
                                
                                <div id="anchor-navigation-ex-navbar"><i class="fa fa-navicon"></i><ul><li><span class="title-icon "></span><a href="#dart-&#x7F16;&#x7A0B;&#x6307;&#x5357;"><b></b>Dart &#x7F16;&#x7A0B;&#x6307;&#x5357;</a></li><ul><li><span class="title-icon "></span><a href="#&#x524D;&#x8A00;"><b></b>&#x524D;&#x8A00;</a></li><li><span class="title-icon "></span><a href="#&#x83B7;&#x53D6;&#x8BFE;&#x7A0B;"><b></b>&#x83B7;&#x53D6;&#x8BFE;&#x7A0B;</a></li></ul></ul></div><a href="#dart-&#x7F16;&#x7A0B;&#x6307;&#x5357;" id="anchorNavigationExGoTop"><i class="fa fa-arrow-up"></i></a><!-- ex_nolevel -->
<h1 id="dart-&#x7F16;&#x7A0B;&#x6307;&#x5357;"><a name="dart-&#x7F16;&#x7A0B;&#x6307;&#x5357;" class="anchor-navigation-ex-anchor" href="#dart-&#x7F16;&#x7A0B;&#x6307;&#x5357;"><i class="fa fa-link" aria-hidden="true"></i></a>Dart &#x7F16;&#x7A0B;&#x6307;&#x5357;</h1>
<h2 id="&#x524D;&#x8A00;"><a name="&#x524D;&#x8A00;" class="anchor-navigation-ex-anchor" href="#&#x524D;&#x8A00;"><i class="fa fa-link" aria-hidden="true"></i></a>&#x524D;&#x8A00;</h2>
<blockquote>
<p>Dart&#x662F;&#x8C37;&#x6B4C;&#x5F00;&#x53D1;&#x7684;&#x8BA1;&#x7B97;&#x673A;&#x7F16;&#x7A0B;&#x8BED;&#x8A00;&#xFF0C;&#x5B83;&#x88AB;&#x7528;&#x4E8E;web&#x3001;&#x670D;&#x52A1;&#x5668;&#x3001;&#x79FB;&#x52A8;&#x5E94;&#x7528;&#x548C;&#x7269;&#x8054;&#x7F51;&#x7B49;&#x9886;&#x57DF;&#x7684;&#x5F00;&#x53D1;&#x3002;&#x5B83;&#x662F;&#x5BBD;&#x677E;&#x5F00;&#x6E90;&#x8BB8;&#x53EF;&#x8BC1;&#xFF08;&#x4FEE;&#x6539;&#x7684;BSD&#x8BC1;&#x4E66;&#xFF09;&#x4E0B;&#x7684;&#x5F00;&#x6E90;&#x8F6F;&#x4EF6;&#x3002;
Dart&#x662F;&#x9762;&#x5411;&#x5BF9;&#x8C61;&#x7684;&#x3001;&#x7C7B;&#x5B9A;&#x4E49;&#x7684;&#x3001;&#x5355;&#x7EE7;&#x627F;&#x7684;&#x8BED;&#x8A00;&#x3002;&#x5B83;&#x7684;&#x8BED;&#x6CD5;&#x7C7B;&#x4F3C;C&#x8BED;&#x8A00;&#xFF0C;&#x53EF;&#x4EE5;&#x8F6C;&#x8BD1;&#x4E3A;JavaScript&#xFF0C;&#x652F;&#x6301;&#x63A5;&#x53E3;(interfaces)&#x3001;&#x6DF7;&#x5165;(mixins)&#x3001;&#x62BD;&#x8C61;&#x7C7B;(abstract classes)&#x3001;&#x5177;&#x4F53;&#x5316;&#x6CDB;&#x578B;(reified generics)&#x3001;&#x53EF;&#x9009;&#x7C7B;&#x578B;(optional typing)&#x7B49;</p>
</blockquote>
<p>Dart&#x4EAE;&#x76F8;&#x4E8E;2011&#x5E74;10&#x6708;10&#x81F3;12&#x65E5;&#x5728;&#x4E39;&#x9EA6;&#x5965;&#x5C14;&#x80E1;&#x65AF;&#x4E3E;&#x884C;&#x7684;GOTO&#x5927;&#x4F1A;&#x4E0A;&#x3002;&#x8BE5;&#x9879;&#x76EE;&#x7531;Lars bak&#x548C;kasper lund&#x521B;&#x5EFA;&#x3002;2013&#x5E74;11&#x6708;14&#x65E5;&#xFF0C;&#x8C37;&#x6B4C;&#x6B63;&#x5F0F;&#x53D1;&#x5E03;Dart 1.0&#x7248;&#x672C;</p>
<p>2015&#x5E74;5&#x6708;Dart&#x5F00;&#x53D1;&#x8005;&#x5CF0;&#x4F1A;&#x4E0A;&#xFF0C;&#x4EAE;&#x76F8;&#x4E86;&#x57FA;&#x4E8E;Dart&#x8BED;&#x8A00;&#x7684;&#x79FB;&#x52A8;&#x5E94;&#x7528;&#x7A0B;&#x5E8F;&#x5F00;&#x53D1;&#x6846;&#x67B6;Sky&#xFF0C;&#x540E;&#x66F4;&#x540D;&#x4E3A;Flutter&#x3002;2018&#x5E74;8&#x6708;8&#x65E5;&#xFF0C;&#x8C37;&#x6B4C;&#x53D1;&#x5E03;Dart2.0&#x7248;&#x672C;&#x3002;Dart2 &#x4E0E; Dart &#x7684;&#x65E9;&#x671F;&#x7248;&#x672C;&#x6709;&#x51E0;&#x5904;&#x5173;&#x952E;&#x7684;&#x4E0D;&#x540C;&#xFF0C;Dart &#x8BED;&#x8A00;&#x3001;&#x5E93;&#x3001;&#x7F16;&#x8BD1;&#x7CFB;&#x7EDF;&#x3001;&#x4EE5;&#x53CA; web &#x5F00;&#x53D1;&#x5DE5;&#x5177;&#x90FD;&#x6709;&#x6539;&#x53D8;&#x3002;</p>
<h2 id="&#x83B7;&#x53D6;&#x8BFE;&#x7A0B;"><a name="&#x83B7;&#x53D6;&#x8BFE;&#x7A0B;" class="anchor-navigation-ex-anchor" href="#&#x83B7;&#x53D6;&#x8BFE;&#x7A0B;"><i class="fa fa-link" aria-hidden="true"></i></a>&#x83B7;&#x53D6;&#x8BFE;&#x7A0B;</h2>
<p>&#x70B9;&#x51FB; <a href="http://m.study.163.com/provider/480000001855430/index.htm?share=2&amp;shareId=480000001855430" target="_blank"><strong>&#x6211;&#x7684;&#x7F51;&#x6821;&#x8BFE;&#x7A0B;</strong></a> &#x8DF3;&#x8F6C;&#xFF0C;&#x4E86;&#x89E3;&#x5168;&#x90E8;&#x8BFE;&#x7A0B;&#x3002;&#x6CE8;&#x610F;&#xFF0C;&#x672C;&#x8BFE;&#x7A0B;&#x4E3A;Flutter&#x5168;&#x6808;&#x5F0F;&#x7684;&#x7B2C;&#x4E00;&#x5B63;&#x8BFE;&#x7A0B;&#x300A;<strong>Flutter &#x5168;&#x6808;&#x5F00;&#x53D1;&#x4E4B;Dart&#x7F16;&#x7A0B;&#x6307;&#x5357;</strong>&#x300B;&#xFF0C;&#x7B2C;&#x4E8C;&#x5B63;&#x8BFE;&#x7A0B;&#x4E3A;&#x300A;<strong>Flutter &#x5168;&#x6808;&#x5F0F;&#x5F00;&#x53D1;&#x6307;&#x5357;</strong>&#x300B;&#xFF0C;&#x7B2C;&#x4E09;&#x5B63;&#x8BFE;&#x7A0B;&#x4E3A;&#x300A;<strong>Flutter&#x5168;&#x6808;&#x5F0F;&#x5F00;&#x53D1;-&#x9AD8;&#x7EA7;&#x7BC7;</strong>&#x300B;&#xFF0C;&#x53E6;&#x5916;&#xFF0C;&#x8FD8;&#x6709;&#x514D;&#x8D39;&#x7684;Dart&#x5B9E;&#x6218;&#x62D3;&#x5C55;&#x8BFE;&#x7A0B;&#x300A;<strong>Dart &#x9879;&#x76EE;&#x5B9E;&#x6218;&#x2014;socks5&#x4EE3;&#x7406;&#x5B9E;&#x73B0;</strong>&#x300B;</p>
<p><img src="https://gitee.com/arcticfox1919/ImageHosting/raw/master/img/qr_adv.png" alt="qr_adv"></p>
<hr>
<p><strong>&#x516C;&#x4F17;&#x53F7;&#x201C;&#x7F16;&#x7A0B;&#x4E4B;&#x8DEF;&#x4ECE;0&#x5230;1&#x201D;</strong></p>
<p><img src="https://gitee.com/arcticfox1919/ImageHosting/raw/master/img/20190301102949549.jpg" alt="20190301102949549"> </p>
<footer class="page-footer"><span class="copyright">Copyright &#xA9; Arcticfox 2020 all right reserved&#xFF0C;powered by Gitbook</span><span class="footer-modification">&#x6587;&#x6863;&#x4FEE;&#x8BA2;&#x4E8E;&#xFF1A;
2021-03-18 13:41:10
</span></footer>
<script>console.log("plugin-popup....");document.onclick = function(e){ e.target.tagName === "IMG" && window.open(e.target.src,e.target.src)}</script><style>img{cursor:pointer}</style>
                                
                                </section>
                            
    </div>
    <div class="search-results">
        <div class="has-results">
            
            <h1 class="search-results-title"><span class='search-results-count'></span> results matching "<span class='search-query'></span>"</h1>
            <ul class="search-results-list"></ul>
            
        </div>
        <div class="no-results">
            
            <h1 class="search-results-title">No results matching "<span class='search-query'></span>"</h1>
            
        </div>
    </div>
</div>

                        </div>
                    </div>
                
            </div>

            
                
                
                <a href="基础篇.html" class="navigation navigation-next navigation-unique" aria-label="Next page: 基础篇">
                    <i class="fa fa-angle-right"></i>
                </a>
                
            
        
    </div>

    <script>
        var gitbook = gitbook || [];
        gitbook.push(function() {
            gitbook.page.hasChanged({"page":{"title":"前言","level":"1.1","depth":1,"next":{"title":"基础篇","level":"1.2","depth":1,"path":"基础篇.md","ref":"基础篇.md","articles":[{"title":"环境搭建","level":"1.2.1","depth":2,"path":"环境搭建.md","ref":"环境搭建.md","articles":[]},{"title":"简单语法","level":"1.2.2","depth":2,"path":"简单语法.md","ref":"简单语法.md","articles":[]},{"title":"函数","level":"1.2.3","depth":2,"path":"函数.md","ref":"函数.md","articles":[]}]},"dir":"ltr"},"config":{"plugins":["anchor-navigation-ex","expandable-chapters-small","-lunr","-search","search-pro","-sharing","github","expandable-chapters","pageview-count","theme-comscore","tbfed-pagefooter","popup","custom-favicon"],"styles":{"website":"styles/website.css","pdf":"styles/pdf.css","epub":"styles/epub.css","mobi":"styles/mobi.css","ebook":"styles/ebook.css","print":"styles/print.css"},"pluginsConfig":{"tbfed-pagefooter":{"copyright":"Copyright &copy Arcticfox 2020","modify_label":"文档修订于：","modify_format":"YYYY-MM-DD HH:mm:ss"},"github":{"url":"https://github.com/arcticfox1919"},"search-pro":{},"popup":{},"fontsettings":{"theme":"white","family":"sans","size":2},"highlight":{},"anchor-navigation-ex":{"associatedWithSummary":true,"float":{"floatIcon":"fa fa-navicon","level1Icon":"","level2Icon":"","level3Icon":"","showLevelIcon":false},"mode":"float","multipleH1":true,"pageTop":{"level1Icon":"","level2Icon":"","level3Icon":"","showLevelIcon":false},"printLog":false,"showGoTop":true,"showLevel":true},"favicon":"logo.ico","theme-comscore":{},"pageview-count":{},"custom-favicon":{},"expandable-chapters-small":{},"theme-default":{"styles":{"website":"styles/website.css","pdf":"styles/pdf.css","epub":"styles/epub.css","mobi":"styles/mobi.css","ebook":"styles/ebook.css","print":"styles/print.css"},"showLevel":false},"expandable-chapters":{}},"theme":"default","author":"arcticfox","pdf":{"pageNumbers":true,"fontSize":12,"fontFamily":"Arial","paperSize":"a4","chapterMark":"pagebreak","pageBreaksBefore":"/","margin":{"right":62,"left":62,"top":56,"bottom":56}},"structure":{"langs":"LANGS.md","readme":"README.md","glossary":"GLOSSARY.md","summary":"SUMMARY.md"},"variables":{},"title":"Dart编程指南","language":"zh-hans","links":{"sidebar":{"主页":"http://www.bczl.xyz/"}},"gitbook":"*"},"file":{"path":"README.md","mtime":"2021-03-18T05:41:10.581Z","type":"markdown"},"gitbook":{"version":"3.2.3","time":"2021-10-18T14:58:03.414Z"},"basePath":".","book":{"language":""}});
        });
    </script>
</div>

        
    <script src="gitbook/gitbook.js"></script>
    <script src="gitbook/theme.js"></script>
    
        
        <script src="gitbook/gitbook-plugin-expandable-chapters-small/expandable-chapters-small.js"></script>
        
    
        
        <script src="gitbook/gitbook-plugin-search-pro/jquery.mark.min.js"></script>
        
    
        
        <script src="gitbook/gitbook-plugin-search-pro/search.js"></script>
        
    
        
        <script src="gitbook/gitbook-plugin-github/plugin.js"></script>
        
    
        
        <script src="gitbook/gitbook-plugin-expandable-chapters/expandable-chapters.js"></script>
        
    
        
        <script src="gitbook/gitbook-plugin-pageview-count/plugin.js"></script>
        
    
        
        <script src="gitbook/gitbook-plugin-fontsettings/fontsettings.js"></script>
        
    
        
        <script src="gitbook/gitbook-plugin-theme-comscore/test.js"></script>
        
    

    </body>
</html>

